Completed
Pull Request — develop (#110)
by Xaver
01:10
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 13
rs 9.4285
nop 0
1
module.exports = function (gulp, plugins, config, env) {
2
  return function sass() {
3
    return gulp.src('scss/*.scss')
4
      .pipe(env.development(plugins.sourcemaps.init()))
5
      .pipe(plugins.sass({
6
        outputStyle: 'compressed',
7
        sourceMap: false
8
      }))
9
      .pipe(plugins.autoprefixer({
10
        browsers: config.autoprefixer
11
      }))
12
      .pipe(env.development(plugins.sourcemaps.write('.', { addComment: true })))
13
      .pipe(gulp.dest(config.build));
14
  };
15
};
16